package com.example.saas.config.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 租户配置
 */
@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "spring.datasource.dynamic.datasource.master")
public class MasterDataSourceProperties {

    /** 驱动类 */
    private String driverClassName;

    /** 连接地址 */
    private String url;

    /** 用户名 */
    private String username;

    /** 密码 */
    private String password;

}

